//package com.coke.spring.seata.controller;
//
//import com.coke.spring.seata.entity.Order;
//import com.coke.spring.seata.service.OrderService;
//import lombok.AllArgsConstructor;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author cwm
// * @Description TODO
// * @date 2021/9/2 下午4:07
// * @Version 1.0
// */
//@RestController
//@AllArgsConstructor
//public class OrderCOntroller {
//
//    private final OrderService orderService;
//
//
//    @PostMapping("/order")
//    public void insert(@RequestBody Order order){
//        //下单
//        orderService.insert(order);
//    }
//
//    @GetMapping("/hello")
//    public String hello(){
//        return "hello word";
//    }
//}
